Putnam Math Competition Question